def to_speciality(speciality):
    data = {

    }
    return data

def to_specialities(specialities):
    re_specialities = []
    for speciality in specialities:
        re_specialities.append(to_speciality(speciality))
    return re_specialities